<?php
//抽象工厂类 - 数码产品厂
abstract class AbstractFactory
{
    abstract public function createObj ($type);
    //创建产品
    public function create ($type) {
        return $this->createObj($type);
    }
}
